package org.nmgyjt.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.nmgyjt.springboot.entity.admin.*;
import org.nmgyjt.springboot.mapper.*;
import org.nmgyjt.springboot.service.ICsBusinessUserCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class CsBusinessUserCodeServiceImpl extends ServiceImpl<CsBusinessUserCodeMapper, CsBusinessUserCode> implements ICsBusinessUserCodeService {
    @Autowired
    private CsBusinessUserCodeMapper businessUserCodeMapper;

    @Override
    public CsBusinessUserCode findByPhoneOrAuthCode(String authPhone, String authCode, String businessId) {
        return businessUserCodeMapper.findByPhoneOrAuthCode(authPhone,authCode,businessId);
    }


}
